package com.whfc.emp.service;


import com.whfc.common.exception.BizException;
import com.whfc.common.result.PageData;
import com.whfc.emp.dto.AppTrainingQuestionsDTO;
import com.whfc.emp.dto.AppTrainingQuestionsOptionsDTO;
import com.whfc.emp.entity.AppTrainingQuestionsOptions;
import com.whfc.emp.param.AppTrainingQuestionAddParam;
import com.whfc.emp.param.AppTrainingQuestionEditParam;
import com.whfc.emp.param.AppTrainingQuestionListParam;

/**
 * @ClasssName AppTrainService
 * @Description 培训考试-培训管理-试题
 * @Author hw
 * @Date 2020/11/26 16:09
 * @Version 1.0
 */
public interface AppTrainingQuestionsOptionsService {

    /**
     * 培训管理-试题-列表
     *
     * @param request
     * @return
     * @throws BizException
     */
    PageData<AppTrainingQuestionsOptionsDTO> list(AppTrainingQuestionListParam request);

    /**
     * 培训管理-新增试题
     *
     * @param request
     * @throws BizException
     */
    void add(AppTrainingQuestionsOptions request) throws BizException;

    /**
     * 培训管理-编辑试题
     *
     * @param request
     * @throws BizException
     */
    void edit(AppTrainingQuestionsOptions request) throws BizException;

    /**
     * 培训管理-删除试题
     *
     * @param id
     * @throws BizException
     */
    void del(Integer id) throws BizException;


}
